package com.qdxwx.models.account;

import java.io.Serializable;
import java.time.LocalDateTime;

public class UserAccountOpt implements Serializable{

    private static final long serialVersionUID = 6762728501872659506L;

    private Long id;//id自增
    private Long userId;//用户id
    private Integer amount;//操作金额(单位分)
    private String type;//操作类型
    private String outNo;//操作标识
    private String description;//备注
    private Integer managerId;//操作者id
    private String managerName;//操作人名字
    private LocalDateTime createTime;//操作时间

    public UserAccountOpt() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getOutNo() {
        return outNo;
    }

    public void setOutNo(String outNo) {
        this.outNo = outNo;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getManagerId() {
        return managerId;
    }

    public void setManagerId(Integer managerId) {
        this.managerId = managerId;
    }

    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "UserAccountOpt{" +
                "id=" + id +
                ", userId=" + userId +
                ", amount=" + amount +
                ", type='" + type + '\'' +
                ", outNo='" + outNo + '\'' +
                ", description='" + description + '\'' +
                ", managerId=" + managerId +
                ", managerName='" + managerName + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
